package com.exrobot.module.rbt.controller.admin.canteenmenu.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.exrobot.framework.common.pojo.PageParam;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.exrobot.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 食堂菜单分页 Request VO")
@Data
public class CanteenMenuPageReqVO extends PageParam {

    @Schema(description = "餐厅", example = "11918")
    private Long canteenSn;

    @Schema(description = "菜单编码")
    private Long menuSn;

    @Schema(description = "菜单编码")
    private Collection<Long> menuSns;

    @Schema(description = "名称", example = "张三")
    private String name;

    @Schema(description = "金额", example = "14112")
    private BigDecimal price;

    @Schema(description = "图片")
    private String img;

    @Schema(description = "信息")
    private String info;

    @Schema(description = "排序")
    private Integer sort;

    @Schema(description = "餐食尺寸")
    private Integer foodSize;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}